package org.jeecg.modules.demo.users.service.impl;

import org.jeecg.modules.demo.users.entity.Address;
import org.jeecg.modules.demo.users.mapper.AddressMapper;
import org.jeecg.modules.demo.users.service.IAddressService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: address
 * @Author: jeecg-boot
 * @Date:   2024-07-05
 * @Version: V1.0
 */
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address> implements IAddressService {
	
	@Autowired
	private AddressMapper addressMapper;
	
	@Override
	public List<Address> selectByMainId(String mainId) {
		return addressMapper.selectByMainId(mainId);
	}
}
